[INFO] cloning repository https://github.com/JerTH/armv7m-vm
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JerTH/armv7m-vm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJerTH%2Farmv7m-vm", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJerTH%2Farmv7m-vm'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0fe97b98de4c3bb74becb6ae5157b378bdba743a
[INFO] fixing JerTH/armv7m-vm against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJerTH%2Farmv7m-vm" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/JerTH/armv7m-vm
[INFO] finished tweaking git repo https://github.com/JerTH/armv7m-vm
[INFO] tweaked toml for git repo https://github.com/JerTH/armv7m-vm written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JerTH/armv7m-vm on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/JerTH/armv7m-vm already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ba8c5a3549b15a1e57a589ada6601c04495307b3df925aec149a3d08f6bf98b3
[INFO] running `Command { std: "docker" "start" "ba8c5a3549b15a1e57a589ada6601c04495307b3df925aec149a3d08f6bf98b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ba8c5a3549b15a1e57a589ada6601c04495307b3df925aec149a3d08f6bf98b3" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ba8c5a3549b15a1e57a589ada6601c04495307b3df925aec149a3d08f6bf98b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ba8c5a3549b15a1e57a589ada6601c04495307b3df925aec149a3d08f6bf98b3" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]    Compiling memchr v2.2.1
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking regex-syntax v0.6.12
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking quick-error v1.2.2
[INFO] [stderr]     Checking termcolor v1.0.5
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]     Checking elfy v0.2.2
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]     Checking aho-corasick v0.7.6
[INFO] [stderr]     Checking atty v0.2.13
[INFO] [stderr]     Checking regex v1.3.1
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]     Checking armchair v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]        Fixed src/decode.rs (1 fix)
[INFO] [stderr]    Migrating src/main.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.52s
[INFO] [stderr] crater-edition-check: armchair v0.1.0 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]     Checking armchair v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/decode.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/decode.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | use log::{ info, debug, trace };
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ProgramHeaderFlags` and `ProgramHeaderType`
[INFO] [stdout]  --> src/loader.rs:5:29
[INFO] [stdout]   |
[INFO] [stdout] 5 | use elfy::types::{ Segment, ProgramHeaderType, ProgramHeaderFlags };
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on use statements
[INFO] [stdout]  --> src/decode.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: `#[macro_use]` can be applied to extern crates and modules
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]   = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/decode.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/decode.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | use log::{ info, debug, trace };
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ProgramHeaderFlags` and `ProgramHeaderType`
[INFO] [stdout]  --> src/loader.rs:5:29
[INFO] [stdout]   |
[INFO] [stdout] 5 | use elfy::types::{ Segment, ProgramHeaderType, ProgramHeaderFlags };
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/decode.rs:438:14
[INFO] [stdout]     |
[INFO] [stdout] 438 |         for (i, item) in table.iter().enumerate() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/decode.rs:438:17
[INFO] [stdout]     |
[INFO] [stdout] 438 |         for (i, item) in table.iter().enumerate() {
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on use statements
[INFO] [stdout]  --> src/decode.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: `#[macro_use]` can be applied to extern crates and modules
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]   = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `encoded` and `decoded` are never read
[INFO] [stdout]    --> src/decode.rs:398:5
[INFO] [stdout]     |
[INFO] [stdout] 397 | pub struct InstructionCodecPair {
[INFO] [stdout]     |            -------------------- fields in this struct
[INFO] [stdout] 398 |     encoded: u16,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 399 |     decoded: InstrThumb16
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `InstructionCodecPair` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/decode.rs:403:8
[INFO] [stdout]     |
[INFO] [stdout] 402 | impl InstructionCodecPair {
[INFO] [stdout]     | ------------------------- associated function in this implementation
[INFO] [stdout] 403 |     fn new(encoded: u16, decoded: InstrThumb16) -> InstructionCodecPair {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `typeid` is never read
[INFO] [stdout]    --> src/decode.rs:536:5
[INFO] [stdout]     |
[INFO] [stdout] 532 | pub struct Operand {
[INFO] [stdout]     |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 536 |     typeid: TypeId,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Operand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DataProcessingInstructions` is never constructed
[INFO] [stdout]   --> src/instructions/data_processing.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct DataProcessingInstructions {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `elf` is never read
[INFO] [stdout]   --> src/loader.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct ProgramLoader {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 11 |     elf: Elf,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProgramLoader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/memory.rs:124:13
[INFO] [stdout]     |
[INFO] [stdout] 124 |             std::mem::transmute::<[u8; 2], u16>([self.raw_pinned[address], self.raw_pinned[address+1]]).to_le()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order
[INFO] [stdout]     = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 124 -             std::mem::transmute::<[u8; 2], u16>([self.raw_pinned[address], self.raw_pinned[address+1]]).to_le()
[INFO] [stdout] 124 +             u16::from_ne_bytes([self.raw_pinned[address], self.raw_pinned[address+1]]).to_le()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/decode.rs:438:14
[INFO] [stdout]     |
[INFO] [stdout] 438 |         for (i, item) in table.iter().enumerate() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/decode.rs:438:17
[INFO] [stdout]     |
[INFO] [stdout] 438 |         for (i, item) in table.iter().enumerate() {
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `encoded` and `decoded` are never read
[INFO] [stdout]    --> src/decode.rs:398:5
[INFO] [stdout]     |
[INFO] [stdout] 397 | pub struct InstructionCodecPair {
[INFO] [stdout]     |            -------------------- fields in this struct
[INFO] [stdout] 398 |     encoded: u16,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 399 |     decoded: InstrThumb16
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `InstructionCodecPair` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/decode.rs:403:8
[INFO] [stdout]     |
[INFO] [stdout] 402 | impl InstructionCodecPair {
[INFO] [stdout]     | ------------------------- associated function in this implementation
[INFO] [stdout] 403 |     fn new(encoded: u16, decoded: InstrThumb16) -> InstructionCodecPair {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `typeid` is never read
[INFO] [stdout]    --> src/decode.rs:536:5
[INFO] [stdout]     |
[INFO] [stdout] 532 | pub struct Operand {
[INFO] [stdout]     |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 536 |     typeid: TypeId,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Operand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DataProcessingInstructions` is never constructed
[INFO] [stdout]   --> src/instructions/data_processing.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct DataProcessingInstructions {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `elf` is never read
[INFO] [stdout]   --> src/loader.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct ProgramLoader {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 11 |     elf: Elf,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProgramLoader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/memory.rs:124:13
[INFO] [stdout]     |
[INFO] [stdout] 124 |             std::mem::transmute::<[u8; 2], u16>([self.raw_pinned[address], self.raw_pinned[address+1]]).to_le()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order
[INFO] [stdout]     = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 124 -             std::mem::transmute::<[u8; 2], u16>([self.raw_pinned[address], self.raw_pinned[address+1]]).to_le()
[INFO] [stdout] 124 +             u16::from_ne_bytes([self.raw_pinned[address], self.raw_pinned[address+1]]).to_le()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.04s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]     Checking armchair v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/memory.rs (1 fix)
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/decode.rs:133:29
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     $instr{ ref mut $op, .. } => {
[INFO] [stdout]     |                             ^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 224 |                     .map(map_operand!(InstrThumb16::BranchE1, cond, u8))
[INFO] [stdout]     |                          ---------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout]     = note: this warning originates in the macro `map_operand` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     &mut $instr{ ref mut $op, .. } => {
[INFO] [stdout]     |                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/decode.rs:133:29
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     $instr{ ref mut $op, .. } => {
[INFO] [stdout]     |                             ^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 230 |                     .map(map_operand!(InstrThumb16::BranchE1, imm, i8))
[INFO] [stdout]     |                          --------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `map_operand` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     &mut $instr{ ref mut $op, .. } => {
[INFO] [stdout]     |                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/decode.rs:133:29
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     $instr{ ref mut $op, .. } => {
[INFO] [stdout]     |                             ^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 242 |                     .map(map_operand!(InstrThumb16::BranchE2, imm, i16))
[INFO] [stdout]     |                          ---------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `map_operand` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     &mut $instr{ ref mut $op, .. } => {
[INFO] [stdout]     |                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/decode.rs:133:29
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     $instr{ ref mut $op, .. } => {
[INFO] [stdout]     |                             ^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 260 |                     .map(map_operand!(InstrThumb16::Test, a, u8))
[INFO] [stdout]     |                          --------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `map_operand` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     &mut $instr{ ref mut $op, .. } => {
[INFO] [stdout]     |                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/decode.rs:133:29
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     $instr{ ref mut $op, .. } => {
[INFO] [stdout]     |                             ^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 267 |                     .map(map_operand!(InstrThumb16::Test, b, u8))
[INFO] [stdout]     |                          --------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `map_operand` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     &mut $instr{ ref mut $op, .. } => {
[INFO] [stdout]     |                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/decode.rs:133:29
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     $instr{ ref mut $op, .. } => {
[INFO] [stdout]     |                             ^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 274 |                     .map(map_operand!(InstrThumb16::Test, c, u8))
[INFO] [stdout]     |                          --------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: this warning originates in the macro `map_operand` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     &mut $instr{ ref mut $op, .. } => {
[INFO] [stdout]     |                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.38s
[INFO] [stderr] crater-edition-check: armchair v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking armchair v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/decode.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/decode.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | use log::{ info, debug, trace };
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ProgramHeaderFlags` and `ProgramHeaderType`
[INFO] [stdout]  --> src/loader.rs:5:29
[INFO] [stdout]   |
[INFO] [stdout] 5 | use elfy::types::{ Segment, ProgramHeaderType, ProgramHeaderFlags };
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on use statements
[INFO] [stdout]  --> src/decode.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: `#[macro_use]` can be applied to extern crates and modules
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]   = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/decode.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/decode.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | use log::{ info, debug, trace };
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ProgramHeaderFlags` and `ProgramHeaderType`
[INFO] [stdout]  --> src/loader.rs:5:29
[INFO] [stdout]   |
[INFO] [stdout] 5 | use elfy::types::{ Segment, ProgramHeaderType, ProgramHeaderFlags };
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on use statements
[INFO] [stdout]  --> src/decode.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: `#[macro_use]` can be applied to extern crates and modules
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]   = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/decode.rs:133:29
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     $instr{ ref mut $op, .. } => {
[INFO] [stdout]     |                             ^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 224 |                     .map(map_operand!(InstrThumb16::BranchE1, cond, u8))
[INFO] [stdout]     |                          ---------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `map_operand` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     &mut $instr{ ref mut $op, .. } => {
[INFO] [stdout]     |                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/decode.rs:133:29
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     $instr{ ref mut $op, .. } => {
[INFO] [stdout]     |                             ^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 230 |                     .map(map_operand!(InstrThumb16::BranchE1, imm, i8))
[INFO] [stdout]     |                          --------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `map_operand` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     &mut $instr{ ref mut $op, .. } => {
[INFO] [stdout]     |                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/decode.rs:133:29
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     $instr{ ref mut $op, .. } => {
[INFO] [stdout]     |                             ^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 242 |                     .map(map_operand!(InstrThumb16::BranchE2, imm, i16))
[INFO] [stdout]     |                          ---------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `map_operand` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     &mut $instr{ ref mut $op, .. } => {
[INFO] [stdout]     |                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/decode.rs:133:29
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     $instr{ ref mut $op, .. } => {
[INFO] [stdout]     |                             ^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 260 |                     .map(map_operand!(InstrThumb16::Test, a, u8))
[INFO] [stdout]     |                          --------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `map_operand` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     &mut $instr{ ref mut $op, .. } => {
[INFO] [stdout]     |                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/decode.rs:133:29
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     $instr{ ref mut $op, .. } => {
[INFO] [stdout]     |                             ^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 267 |                     .map(map_operand!(InstrThumb16::Test, b, u8))
[INFO] [stdout]     |                          --------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `map_operand` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     &mut $instr{ ref mut $op, .. } => {
[INFO] [stdout]     |                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/decode.rs:133:29
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     $instr{ ref mut $op, .. } => {
[INFO] [stdout]     |                             ^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 274 |                     .map(map_operand!(InstrThumb16::Test, c, u8))
[INFO] [stdout]     |                          --------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]     = note: this error originates in the macro `map_operand` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     &mut $instr{ ref mut $op, .. } => {
[INFO] [stdout]     |                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/decode.rs:438:14
[INFO] [stdout]     |
[INFO] [stdout] 438 |         for (i, item) in table.iter().enumerate() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/decode.rs:438:17
[INFO] [stdout]     |
[INFO] [stdout] 438 |         for (i, item) in table.iter().enumerate() {
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `armchair` (lib test) due to 6 previous errors; 6 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/decode.rs:438:14
[INFO] [stdout]     |
[INFO] [stdout] 438 |         for (i, item) in table.iter().enumerate() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]    --> src/decode.rs:438:17
[INFO] [stdout]     |
[INFO] [stdout] 438 |         for (i, item) in table.iter().enumerate() {
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `encoded` and `decoded` are never read
[INFO] [stdout]    --> src/decode.rs:398:5
[INFO] [stdout]     |
[INFO] [stdout] 397 | pub struct InstructionCodecPair {
[INFO] [stdout]     |            -------------------- fields in this struct
[INFO] [stdout] 398 |     encoded: u16,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 399 |     decoded: InstrThumb16
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `InstructionCodecPair` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/decode.rs:403:8
[INFO] [stdout]     |
[INFO] [stdout] 402 | impl InstructionCodecPair {
[INFO] [stdout]     | ------------------------- associated function in this implementation
[INFO] [stdout] 403 |     fn new(encoded: u16, decoded: InstrThumb16) -> InstructionCodecPair {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `typeid` is never read
[INFO] [stdout]    --> src/decode.rs:536:5
[INFO] [stdout]     |
[INFO] [stdout] 532 | pub struct Operand {
[INFO] [stdout]     |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 536 |     typeid: TypeId,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Operand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DataProcessingInstructions` is never constructed
[INFO] [stdout]   --> src/instructions/data_processing.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct DataProcessingInstructions {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `elf` is never read
[INFO] [stdout]   --> src/loader.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct ProgramLoader {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 11 |     elf: Elf,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProgramLoader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/memory.rs:124:13
[INFO] [stdout]     |
[INFO] [stdout] 124 |             std::mem::transmute::<[u8; 2], u16>([self.raw_pinned[address], self.raw_pinned[address+1]]).to_le()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order
[INFO] [stdout]     = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 124 -             std::mem::transmute::<[u8; 2], u16>([self.raw_pinned[address], self.raw_pinned[address+1]]).to_le()
[INFO] [stdout] 124 +             u16::from_ne_bytes([self.raw_pinned[address], self.raw_pinned[address+1]]).to_le()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "ba8c5a3549b15a1e57a589ada6601c04495307b3df925aec149a3d08f6bf98b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ba8c5a3549b15a1e57a589ada6601c04495307b3df925aec149a3d08f6bf98b3", kill_on_drop: false }`
[INFO] [stdout] ba8c5a3549b15a1e57a589ada6601c04495307b3df925aec149a3d08f6bf98b3
